package com.ruoyi.project.user.kkuser.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 用户对象 user
 * 
 * @author shixiangwen
 * @date 2019-12-04
 */
public class KKUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 应用id */
    @Excel(name = "应用id")
    private String appId;

    /** kkid */
    @Excel(name = "kkid")
    private Long kkid;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickname;

    /** 头像 */
    @Excel(name = "头像")
    private String portrait;

    /** 性别 */
    @Excel(name = "性别")
    private Long gender;

    /** 注册时间 */
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 生日 */
    private String birthday;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAppId(String appId) 
    {
        this.appId = appId;
    }

    public String getAppId() 
    {
        return appId;
    }
    public void setKkid(Long kkid) 
    {
        this.kkid = kkid;
    }

    public Long getKkid() 
    {
        return kkid;
    }
    public void setNickname(String nickname) 
    {
        this.nickname = nickname;
    }

    public String getNickname() 
    {
        return nickname;
    }
    public void setPortrait(String portrait) 
    {
        this.portrait = portrait;
    }

    public String getPortrait() 
    {
        return portrait;
    }
    public void setGender(Long gender) 
    {
        this.gender = gender;
    }

    public Long getGender() 
    {
        return gender;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setBirthday(String birthday) 
    {
        this.birthday = birthday;
    }

    public String getBirthday() 
    {
        return birthday;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("appId", getAppId())
            .append("kkid", getKkid())
            .append("nickname", getNickname())
            .append("portrait", getPortrait())
            .append("gender", getGender())
            .append("createdTime", getCreatedTime())
            .append("birthday", getBirthday())
            .toString();
    }
}
